{% extends 'base.html' %}
{% load mytags %}
{% block content %}
<script>
    window.onload=init;
    function init() {
        showhide(3);
    }
    function showhide(n) {
        var box = document.getElementById("setup");
        box.className="active";
        var box = document.getElementById("shell");
        box.className="active";
    }
</script>

  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
    </section>

    <!-- Main content -->

    <section class="content">

      <!-- Default box -->
      <div class="box">
        <div class="box-header with-border">
          <h3 class="box-title">执行结果</h3>

          <div class="box-tools pull-right">
          </div>
        </div>
        <div class="box-body">
        {% for d in ret %}
        <p>{{ d|res_splict|safe }}</p><br>
        {% endfor %}
        </div>
        <!-- /.box-body -->
       <a href="{% url 'shell' %}"> <li class="btn btn-primary" style="width: 60pt">返回</li></a>
        <div class="box-footer">
          <i class="fa fa-info-circle"></i>
        </div>
        <!-- /.box-footer-->
      </div>
      <!-- /.box -->

    </section>

  </div>
{% endblock %}